package com.zhongkeruan.order.service.impl;

import com.codingapi.tx.netty.service.TxManagerHttpRequestService;
import com.lorne.core.framework.utils.http.HttpUtils;
import org.springframework.stereotype.Service;

/**
 * @author yangyao
 * @Description: TxManagerHttpServiceImpl
 * @date 2019/1/14 15:36
 */
@Service
public class TxManagerHttpServiceImpl implements TxManagerHttpRequestService {
    public String httpGet(String url) {
        String res = HttpUtils.get(url);
        return res;
    }

    public String httpPost(String url, String params) {
        String res = HttpUtils.post(url,params);
        return res;
    }
}
